package com.wn;

import com.spring4all.swagger.EnableSwagger2Doc;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

import javax.servlet.annotation.WebFilter;

//飓风旅游项目策划1.0.0 -from liu

@SpringBootApplication
@MapperScan("com.wn.mapper")
@EnableTransactionManagement //开启事务
@EnableSwagger2Doc //开启swagger帮助api
@EnableScheduling //开启spring的定时任务
//@ServletComponentScan("com.wn.common.interceptor")
public class HurricaneTravelApplication {

    public static void main(String[] args) {
        SpringApplication.run(HurricaneTravelApplication.class, args);
    }

}
